const moment  = require('moment');
let month = 12;
const dateArr = [{name:'全部',date:''}];
for(let i=0;i<month;i++){
  dateArr.push({
    name:moment().subtract(i, 'M').format('YYYY-MM'),
    date:moment().subtract(i, 'M').format('YYYY-MM')
  })
}
module.exports = dateArr